# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=lxqt-menu-data
pkgver=1.4.1
pkgrel=0
pkgdesc="Freedesktop.org desktop menus for LXDE"
url="https://lxde.org"
arch="noarch"
license="GPL-2.0-or-later"
makedepends="
	cmake
	samurai
	lxqt-build-tools
	qt5-qttools-dev
	"
options="!check" # No testsuite
source="https://github.com/lxqt/lxqt-menu-data/releases/download/$pkgver/lxqt-menu-data-$pkgver.tar.xz"

replaces="lxmenu-data"

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
6e3bc518f6d392a4a4c37fd218d034b48400178bc450b7492339f25dc2de21d493c86ebdbe74bd43a6a1a4799d51737a1fb88f89e68f569cb21ac81096124cba  lxqt-menu-data-1.4.1.tar.xz
"
